﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Flatland.GeneticProgramming.CoreTypes;

namespace Flatland.GeneticProgramming.TestGenes_Do_not_modify_ {
    [Serializable]
    public class FactoredDna : GenoType, IExpression<int>
    {
        /*
         * Tests will look for 42 terminals
         */
        [Primitive(42)] 
        public int i;


        /*
         * Tests will look for 17 functions
         */
        [Primitive(17)]
        public int Fun(int a, int b)
        {
            return a;
        }


        public override object Clone()
        {
            return new FactoredDna();
        }


        public override double Fitness()
        {
            throw new NotImplementedException();
        }

        protected override void Act(ref string msg)
        {
        }
    }
}
